<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>

<!DOCTYPE html>
<html lang="cn">
<head>
<title>Demo Version</title>
</head>

<body>
	<ul class="breadcrumb">
		<li>Demo Version<span class="divider">/</span></li>
		<li class="active"><s:if test="id == null">创建</s:if><s:else>修改</s:else></li>
	</ul>

	<form action="${ctx }/demo/demo-version!save.action" class="form-horizontal" method="post">
		<div class="control-group">
			<label class="control-label">id</label>
			<div class="controls">
				<input type="hidden" name="id" value="${id }" />${id }
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">名称</label>
			<div class="controls">
				<input type="text" name="name" value="${name }" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">备注</label>
			<div class="controls">
				<input type="text" name="remark" value="${remark }" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">version</label>
			<div class="controls">
				<input type="hidden" name="workingVersion" value="${version }" />${version }
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<input type="submit" class="btn btn-primary" value="保存" />
			</div>
		</div>
	</form>
</body>
</html>